<?
	if($model->id==0){
		$hidden['parent_id']=$this->input->get('parent_id');
	}

	$hidden['formtype']='multiple';
	

?>



<div class='contentheader'>Neue Kategorien</div>
<?
echo form::open(NULL, '', $hidden);
echo form::hidden('id', $model->id);
echo form::open_fieldset();


for($i=0;$i<10;$i++){
	echo myform::inputfield('titlearray[]','Titel '.($i+1),'');
}


echo form::close_fieldset();

echo myform::submit_small();

echo form::close();
?>